package cn.wyl.org.mapper;

import cn.wyl.basic.mapper.BaseMapper;
import cn.wyl.org.domain.Employee;
import cn.wyl.org.query.EmployeeQuery;

import java.util.List;

/**
 * Mapper接口：员工
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    void saveEmployeeRole(Employee e);


    void removeEmployeeRoleByEmployeeId(Long id);

    Employee loadByLogininfoId(Long id);

    List<Employee> getEmployeesByShopId(long shopId);
}
